package com.wr.vehicle.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wr.common.annotation.Excel;
import com.wr.common.core.domain.BaseEntity;

/**
 * 车辆信息对象 tb_ebike
 *
 * @author art8173
 * @date 2024-11-25
 */
public class Ebike extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 车辆ID
     */
    private Long ebikeId;

    /**
     * 用户账号
     */
    @Excel(name = "用户账号")
    private String userName;

    /**
     * 车牌号
     */
    @Excel(name = "车牌号")
    private String licensePlate;

    /**
     * 二维码ID
     */
    private String qrId;

    /**
     * 车辆图片
     */
    private String vehicleImage;

    /**
     * 记分
     */
    @Excel(name = "记分")
    private Long points;

    /**
     * 车架号
     */
    private String frameNumber;

    /**
     * 电瓶生产日期
     */
    private Date batteryProductionDate;

    /**
     * 电瓶有效期
     */
    private Date batteryExpiryDate;

    /**
     * 删除标志
     */
    private String delFlag;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 姓名
     */
    private String nickName;


    /**
     * 手机号码
     */
    private String phonenumber;

        public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setEbikeId(Long ebikeId) {
        this.ebikeId = ebikeId;
    }

    public Long getEbikeId() {
        return ebikeId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setQrId(String qrId) {
        this.qrId = qrId;
    }

    public String getQrId() {
        return qrId;
    }

    public void setVehicleImage(String vehicleImage) {
        this.vehicleImage = vehicleImage;
    }

    public String getVehicleImage() {
        return vehicleImage;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public Long getPoints() {
        return points;
    }

    public void setFrameNumber(String frameNumber) {
        this.frameNumber = frameNumber;
    }

    public String getFrameNumber() {
        return frameNumber;
    }

    public void setBatteryProductionDate(Date batteryProductionDate) {
        this.batteryProductionDate = batteryProductionDate;
    }

    public Date getBatteryProductionDate() {
        return batteryProductionDate;
    }

    public void setBatteryExpiryDate(Date batteryExpiryDate) {
        this.batteryExpiryDate = batteryExpiryDate;
    }

    public Date getBatteryExpiryDate() {
        return batteryExpiryDate;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ebikeId", getEbikeId())
                .append("userName", getUserName())
                .append("licensePlate", getLicensePlate())
                .append("qrId", getQrId())
                .append("vehicleImage", getVehicleImage())
                .append("points", getPoints())
                .append("frameNumber", getFrameNumber())
                .append("batteryProductionDate", getBatteryProductionDate())
                .append("batteryExpiryDate", getBatteryExpiryDate())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .append("nickName",getNickName())
                .append("deptName",getDeptName())
                .append("phonenumber",getPhonenumber())
                .toString();
    }
}
